# $Id: PKGBUILD 87045 2013-03-26 11:49:38Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=dwdiff
pkgver=2.0.4
pkgrel=4
pkgdesc="A front-end for the diff program that operates at the word level instead of the line level"
arch=('i686' 'x86_64')
url="http://os.ghalkes.nl/dwdiff.html"
depends=('diffutils' 'icu')
license=('GPL')
source=("http://os.ghalkes.nl/dist/$pkgname-$pkgver.tgz")
md5sums=('1bb69cbfb76583f69c6912f925fc4cec')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make prefix="$pkgdir"/usr install
}
